ContentEgg\application\components\ContentManipulator C

Total Complexity 122
Dependencies 5
Dependents 1
Total lines 917
Lines of code 582
Logical lines of code 296
Comment lines 191
Methods 22
Properties 8

Methods 22

Method Rating Maintainability Complexity Lines of code
getAdSlotSections()
C
35 22 93
injectBlocks()
B
39 15 66
buildParagraphChunks()
B
39 14 78
splitIntoSections()
A
40 10 75
injectAdSlots()
A
44 10 47
inject()
A
45 10 44
getInsertedPositions()
S
55 6 20
__construct()
S
60 5 14
addHeroBlock()
S
54 4 25
flushParagraphsFromHtml()
S
54 4 23
prepareSnippet()
S
59 4 16
normalizePostWhitespace()
S
58 2 16
mergeSectionPair()
S
63 3 10
assembleContent()
S
65 3 9
injectAndSave()
S
60 2 13
getSections()
S
70 2 7
setPost()
S
65 1 10
splitIntoBlocks()
S
79 1 3
insertBlockAt()
S
79 1 3
appendBlock()
S
80 1 3
prependBlock()
S
80 1 3
getPostSections()
S
77 1 4